﻿appRoot.controller('StatisticsController', function ($scope, $location, $resource) {

    var data1 = [[0, 1], [1, 3], [2, 2], [3, 1], [4, 8], [5, 3], [6, 2], [7, 1],
        [8, 2], [9, 5], [10, 3], [11, 2], [12, 5], [13, 4], [14, 2],
        [15, 2], [16, 2], [17, 3], [18, 2], [19, 2], [20, 4], [21, 2]];

    var reportData = [
        {
            data: data1,
            color: '#00b9d7',
            label: "Data"
        }
    ];

    var options =
    {
        grid: {
            backgroundColor: { colors: ["#fff", "#eee"] },
            borderWidth: {
                top: 5,
                right: 5,
                bottom: 5,
                left: 5
            }
        }
    };
    

    $scope.data = reportData;
    $scope.opts = options;

});
